package edu.hawaii.wicket.page.scheduler;

import java.io.Serializable;
/**
 * A class for handling events.
 * @author Gerolf Seitz
 * https://github.com/gseitz
 */
public class EventSource implements Serializable { 
  private static final long serialVersionUID = 1L;

  private final String feedURL;
 /**
 * A method.
 * @param feedURL a url.
 */
  public EventSource(String feedURL) { 
    this.feedURL = feedURL; 
  } 
  /**
   * A method.
   * @return url in quotes
   */
  public String asJsonString() { 
    return "'" + feedURL + "'";
  } 

} 